package com.webwork.project.system.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class MainController {

	@Value("${system.title}")
	private String title;
	
	@RequestMapping("/")
	public String index(Model model) {
		model.addAttribute("title", title);
		return "index";
	}
	
	@RequestMapping("/main/getMenuList")
	@ResponseBody
	public String getMenuList() {
		
		
		return "";
	}

}
